package com.wulee.notebook.bao;

import android.app.Application;

import com.wulee.notebook.utils.ACache;

import cn.jpush.android.api.JPushInterface;

/**
 * Created by lenovo on 2018/8/17.
 */

public class App extends Application {
    static Application instant;
    public static ACache aCache;

    public static Application getContext(){
        return instant;
    }
    @Override
    public void onCreate() {
        super.onCreate();
        instant = this;
        try {
            JPushInterface.init(this);
        }catch (Exception e){

        }
        aCache = ACache.get(this);

    }
}
